
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations.Schema;

    /// <summary>
    /// 专题
    /// </summary>
    public partial class TopicInfo:BaseModel
    {       
    
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 专题名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 主图
        /// </summary>
        private string topImage { get; set; }
        /// <summary>
        /// 背景图片
        /// </summary>
        private string backgroundImage { get; set; }
        /// <summary>
        /// 封面图片
        /// </summary>
        [NotMapped]
        public  string frontCoverImage { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string Tags { get; set; }
        /// <summary>
        /// 使用终端
        /// </summary>
        public Himall.Core.PlatformType PlatForm { get; set; }
        public long ShopId { get; set; }
        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool IsRecommend { get; set; }
        /// <summary>
        /// 自定义热点
        /// </summary>
        public string SelfDefineText { get; set; }
    
        public virtual ICollection<TopicModuleInfo> TopicModuleInfo { get; set; } = new HashSet<TopicModuleInfo>();
        public virtual ICollection<MobileHomeTopicsInfo> Himall_MobileHomeTopics { get; set; } = new HashSet<MobileHomeTopicsInfo>();
    }
}
